{extends "index.tpl"}
{block name='content'}
	<div id="mainSignup">
		<form method="post" action="{site_url('clog/signup')}" enctype="multipart/form-data">
			<table>
				<tr>
					<td colspan=2><label for="login">login* :</label></td>
				</tr>
				<tr>
					<td><input class="unknow" onchange="signupValid(this)" id="login" type="text" name="login" size="25"/></td>
					<td><span id="loginSpan">{form_error('login')}</span></td>
				</tr>

				<tr>
					<td colspan=2><label for="mail">e-mail* :</label></td>
				</tr>
				<tr>
					<td><input class="unknow" onchange="signupValid(this)" id="mail" type="text" name="mail" id="mail" size="25"/></td>
					<td><span id="mailSpan">{form_error('mail')}</span></td>
				</tr>

				<tr>
					<td colspan=2><label for="prenom">{$trad['prenom']}* :</label></td>
				<tr>
					<td><input type="text" name="prenom" size="25"/></td>
					<td><span id="prenomSpan">{form_error('prenom')}</span></td>
				</tr>

				<tr>
					<td colspan=2><label for="nom">{$trad['nom']}* :</label></td>
				<tr>
					<td><input type="text" name="nom" size="25"/></td>
					<td><span id="nomSpan">{form_error('nom')}</span></td>
				</tr>

				<tr>
					<td colspan=2><label for="birth">{$trad['anniversaire']}* :</label></td>
				<tr>
					<td><input type="date" name="birth" size="25"/></td>
					<td><span id="dateSpan">{form_error('birth')}</span></td>
				</tr>

				<tr>
					<td colspan=2><label for="password">password* :</label></td>
				<tr>
					<td><input class="unknow" onchange="signupValid(this)" id="password" type="password" name="pwd" size="25"/></td>
					<td><span id="pwdSpan">{form_error('pwd')}</span></td>
				</tr>

				<tr>
					<td colspan=2><label for="passconf">{$trad['confPass']}* :</label></td>
				<tr>
					<td><input class="unknow" onchange="signupValid(this)" id="passconf" type="password" name="passconf" size="25"/></br></td>
					<td><span id="passconfSpan">{form_error('passconf')}</span></td>
				</tr>

				<tr>
					<td colspan=2><input type="submit" name="action" value="Valider"></td>
				<tr>		
			</table>
		</form>
	</div>
{/block}